package dansproject;

public class Review {

	private int rating; // 0-5 rating on drop down menu
	private String reasonForTaking; // 5 word max - 40 character max
	private String reviewText; // 100 word max - 400 character max
	private String userName; // unique, not empty
	private String createdTimeStamp;
	private String createdBy;
	private String updatedTimeStamp;
	private String updatedBy;
	private String positiveReview; // true or false value, set to false
	private String negativeReivew; // true or false value, set to false

	public String getCreatedTimeStamp() {
		return createdTimeStamp;
	}

	public void setCreatedTimeStamp(String createdTimeStamp) {
		this.createdTimeStamp = createdTimeStamp;
	}

	public String getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public String getUpdatedTimeStamp() {
		return updatedTimeStamp;
	}

	public void setUpdatedTimeStamp(String updatedTimeStamp) {
		this.updatedTimeStamp = updatedTimeStamp;
	}

	public String getUpdatedBy() {
		return updatedBy;
	}

	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}

	public String getPositiveReview() {
		return positiveReview;
	}

	public void setPositiveReview(String positiveReview) {
		this.positiveReview = positiveReview;
	}

	public String getNegativeReivew() {
		return negativeReivew;
	}

	public void setNegativeReivew(String negativeReivew) {
		this.negativeReivew = negativeReivew;
	}

	// constructor for Review
	public Review(int rating, String reasonForTaking, String reviewText,
			String userName) {
		this.setRating(rating);
		this.setReasonForTaking(reasonForTaking);
		this.setReviewText(reviewText);
		this.setUserName(userName);
	}

	public void setRating(int rating) {
		this.rating = rating;
	}

	public int getRating() {
		return rating;
	}

	public void setReasonForTaking(String reasonForTaking) {
		this.reasonForTaking = reasonForTaking;
	}

	public String getReasonForTaking() {
		return reasonForTaking;
	}

	public void setReviewText(String reviewText) {
		this.reviewText = reviewText;
	}

	public String getReviewText() {
		return reviewText;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserName() {
		return userName;
	}

}
